Mollie\WooCommerce\Payment\MollieOrder C

Total Complexity 105
Dependencies 13
Dependents 2
Total lines 998
Lines of code 599
Logical lines of code 290
Comment lines 190
Methods 22
Properties 8

Methods 22

Method Rating Maintainability Complexity Lines of code
getPaymentRequestData()
A
37 14 74
processOrderItemsRefund()
A
36 11 90
refund()
A
41 11 56
refund_amount()
A
43 8 48
refund_order_items()
A
45 8 41
onWebhookCanceled()
A
47 7 37
getCustomerBirthdate()
S
57 6 16
onWebhookCompleted()
S
49 5 29
onWebhookPaid()
S
47 4 39
onWebhookExpired()
S
48 4 33
maybeUpdateStatus()
S
54 4 21
onWebhookAuthorized()
S
55 3 19
getMollieCustomerIbanDetailsFromPaymentObject()
S
59 3 14
getPaymentObject()
S
60 3 11
getSequenceTypeFromPaymentObject()
S
66 3 9
getMollieCustomerIdFromPaymentObject()
S
66 3 9
onWebhookFailed()
S
57 1 17
getMolliePaymentIdFromPaymentObject()
S
70 2 6
updatePaymentDataWithOrderData()
S
67 2 8
addSequenceTypeFirst()
S
76 1 4
setActiveMolliePayment()
S
67 1 8
__construct()
S
64 1 10